package cn.lhjl.day05;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Currency;
import java.util.Date;
import java.util.Random;

public class Test {
    public static void main(String[] args) throws ParseException {
        String str ="abc";
        System.out.println(str.substring(0, 1));
        System.out.println(str.length());
    }
}
